package cn.buyclss.backend.mapper;

import cn.buyclss.backend.entity.domain.UserRole;
import cn.buyclss.backend.entity.domain.UserRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserRoleMapper {
    /**
     *
     * @mbg.generated 2019-03-21
     */
    long countByExample(UserRoleExample example);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int deleteByExample(UserRoleExample example);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int insert(UserRole record);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int insertSelective(UserRole record);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    List<UserRole> selectByExample(UserRoleExample example);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    UserRole selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int updateByExampleSelective(@Param("record") UserRole record, @Param("example") UserRoleExample example);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int updateByExample(@Param("record") UserRole record, @Param("example") UserRoleExample example);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int updateByPrimaryKeySelective(UserRole record);

    /**
     *
     * @mbg.generated 2019-03-21
     */
    int updateByPrimaryKey(UserRole record);
}